let barHeight = 0
let StatusBar = 0
let barHightTop = ""
// #ifdef MP-WEIXIN
let fn = function(){
		let systemInfo = uni.getSystemInfoSync();
		let custom = wx.getMenuButtonBoundingClientRect();
		let statusBarHeight = systemInfo.statusBarHeight
		let CustomBar = custom.bottom + custom.top - systemInfo.statusBarHeight;
		barHeight = CustomBar || 0 ;
		StatusBar = statusBarHeight || 0 ;
		//StatusBar + 'px' barHeight - StatusBar+ 'px'  barHeight + StatusBar+ 'px'
		barHightTop = StatusBar+ 'px'
	}
// #endif
// #ifdef APP
let fn = function(){
		let systemInfo = uni.getSystemInfoSync()
		let statusBarHeight = systemInfo.statusBarHeight
		barHightTop =  (statusBarHeight+7)+ 'px'
	}
// #endif
fn()

export default barHightTop